home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 8 / IOPROG_8.ISO / soft / sdkplnet / mac / plgsk401.sit / PluginSDK 4.01a / Examples / CharFlipper / Source / CWinFlipView.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-09  |  1.0 KB  |  45 lines

  1. #pragma once
  2.  
  3. #include "npapi.h"
  4.  
  5. #include "CCharFlipper.h"
  6.  
  7. /////////////////////////////////////////////////////////////////////////////
  8.  
  9. #define ID_VIDEO_PLAY           1000
  10. #define ID_VIDEO_STOP           1001
  11. #define ID_VIDEO_REWIND         1002
  12. #define ID_VIDEO_FORWARD        1003
  13. #define ID_VIDEO_FRAME_BACK     1004
  14. #define ID_VIDEO_FRAME_FORWARD  1005
  15.  
  16. // CWinFlipView:
  17. //
  18. class CWinFlipView : public CWnd, public CPluginView {
  19.     public:
  20.                             CWinFlipView( CCharFlipper* inController );
  21.         virtual                ~CWinFlipView();
  22.         
  23.         virtual WNDPROC*     GetSuperWndProcAddr();
  24.     
  25.     //{{AFX_MSG( CMainWindow )
  26.         afx_msg void         OnPaint();
  27.         afx_msg void         OnPaletteChanged(CWnd* pWnd);
  28.         afx_msg void         OnLButtonDown(UINT flags, CPoint point);
  29.         afx_msg void         OnRButtonDown(UINT flags, CPoint point);
  30.     
  31.         afx_msg void         OnPlay();
  32.  
  33.         afx_msg void         OnStop();
  34.         afx_msg void         OnRewind();
  35.         afx_msg void         OnForward();
  36.         afx_msg void         OnFrameBack();
  37.         afx_msg void         OnFrameForward();
  38.     //}}AFX_MSG
  39.  
  40.         DECLARE_MESSAGE_MAP()
  41.         
  42.     protected:
  43.         char                mLastCharacter;
  44. };
  45.